package com.example.demo.com.example.observer;

import com.google.common.eventbus.EventBus;

public class Test {
    public static void main(String[] args) {
        EventBus bus = new EventBus();
        bus.register(new GuavaEvent());
        bus.post("Tom,i am a question");
        bus.post("Mic,i am a question");
    }
}
